package teleradiologia.service;

import java.util.List;

import teleradiologia.domain.Diagnosticlab;
import teleradiologia.domain.Doctor;
import teleradiologia.domain.Person;
import teleradiologia.repository.DoctorDao;

public interface DoctorManipulator {
	// simple CRUD operations
	String create(Doctor doctor, Person person, Diagnosticlab diagnosticlab);	 // create
	Doctor getByNip(String nip);		 // read
	void update(Doctor doctor);	 // update
	void delete(Doctor doctor);	 // delete

	// IoC - setter
	public void setDoctorDao(DoctorDao doctorDao);
	public List<Doctor> getAll();
	public List<Doctor> getAllByKrsnumber(String krsnumber);
	Doctor geByIdPerson(long idPerson);
}
